home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-68k-src / machines / amiga68k / libsrc / amigalib / sprintf.c < prev    next >
C/C++ Source or Header  |  1999-01-01  |  248b  |  10 lines

  1. #include <proto/exec.h>
  2.  
  3. static ULONG tricky=0x16c04e75; /* move.b d0,(a3)+ ; rts */
  4.  
  5. void sprintf(STRPTR buffer,STRPTR fmt,...)
  6. {
  7.     tricky=0x16c04e75;
  8.     RawDoFmt(fmt,(ULONG *)&fmt+1,(void (*)())&tricky,buffer);
  9. } /* Not very clean, but ... */
  10.